package com.whxy02.tolearn.app.beans;

//import javax.persistence.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * 打卡记录表
 */

//@Entity
//@Table(name="tb_document")
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_document")
public class Document {

//    @Id
//    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @TableId(value = "document_id",type = IdType.AUTO)
    private Integer documentId;
    private Integer userId=1;
    private String todayLog="什么也没写";           //打卡日志
    private Date createTime=new Date();             //打卡日期


}
